package com.xxx.corejava.day1209;

public class Test4 {
    public static void main(String[] args) {

        long start=System.currentTimeMillis();
//        String s="";
//        StringBuffer s=new StringBuffer();
        StringBuilder s=new StringBuilder();
        for (int i = 0; i < 99999; i++) {
//            s+="1";
            s.append("1");
        }
        long end=System.currentTimeMillis();

        System.out.println(end-start);


    }
}
